package cxy.dao;

import cxy.entity.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentDao {
     int add(Student student);
     int delete(Integer sid);
     int update(Student student);
     List<Student> queryAll();
     Student queryById(Integer sid);
}
